<?php

namespace Database\Factories;

use Illuminate\Database\Eloquent\Factories\Factory;


class VideoFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array
     */
    public function definition()
    {
        return [
            'title'=>$this->faker->sentence(),
            'info'=>$this->faker->sentence(),
            'video'=>'/uploads/test1.mp4',
            'type'=>random_int(0,1),
            'start_at'=>$this->faker->dateTime(),
            'end_at'=>$this->faker->dateTime(),
            'image'=>'/assets/test_images/r1.jpg',
            'expert'=>$this->faker->name(),
        ];
    }
}
